using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Thaire.Investment.Domains.Transaction
{
   
    public class UnitTrustProportion 
    {
        #region Properties
              // UNIT_TRUST_PROPORTION_ID
        public virtual int ID { set; get; }
      // UNIT_TRUST_HEADER_ID
        public virtual int? UnitTrustHeaderID { set; get; }
      // UNIT_TRUST_DATE
        public virtual DateTime? UnitTrustDate { set; get; }
      // UNIT_TRUST_ITEM_1
        public virtual decimal? UnitTrustItem1 { set; get; }
      // UNIT_TRUST_ITEM_2
        public virtual decimal? UnitTrustItem2 { set; get; }
      // UNIT_TRUST_ITEM_3
        public virtual decimal? UnitTrustItem3 { set; get; }
      // UNIT_TRUST_ITEM_4
        public virtual decimal? UnitTrustItem4 { set; get; }
      // UNIT_TRUST_ITEM_5
        public virtual decimal? UnitTrustItem5 { set; get; }
      // UNIT_TRUST_ITEM_6
        public virtual decimal? UnitTrustItem6 { set; get; }
      // UNIT_TRUST_ITEM_7
        public virtual decimal? UnitTrustItem7 { set; get; }
      // UNIT_TRUST_ITEM_8
        public virtual decimal? UnitTrustItem8 { set; get; }
      // UNIT_TRUST_ITEM_9
        public virtual decimal? UnitTrustItem9 { set; get; }
      // UNIT_TRUST_ITEM_10
        public virtual decimal? UnitTrustItem10 { set; get; }
      // UNIT_TRUST_ITEM_11_1
        public virtual decimal? UnitTrustItem111 { set; get; }
      // UNIT_TRUST_ITEM_11_2
        public virtual decimal? UnitTrustItem112 { set; get; }
      // UNIT_TRUST_ITEM_11_3
        public virtual decimal? UnitTrustItem113 { set; get; }
      // UNIT_TRUST_ITEM_11_4
        public virtual decimal? UnitTrustItem114 { set; get; }
      // UNIT_TRUST_ITEM_11_5
        public virtual decimal? UnitTrustItem115 { set; get; }
      // UNIT_TRUST_ITEM_12_1
        public virtual decimal? UnitTrustItem121 { set; get; }
      // UNIT_TRUST_ITEM_12_2
        public virtual decimal? UnitTrustItem122 { set; get; }
      // UNIT_TRUST_ITEM_12_3
        public virtual decimal? UnitTrustItem123 { set; get; }
      // UNIT_TRUST_ITEM_12_4
        public virtual decimal? UnitTrustItem124 { set; get; }
      // UNIT_TRUST_ITEM_12_5
        public virtual decimal? UnitTrustItem125 { set; get; }
      // CREATE_DATE
        public virtual DateTime? CreateDate { set; get; }
      // CREATE_BY
        public virtual String CreateBY { set; get; }
      // MODIFY_DATE
        public virtual DateTime? ModifyDate { set; get; }
      // MODIFY_BY
        public virtual String ModifyBY { set; get; }

        #endregion

        

        public override bool Equals(object obj)
        {
            if(obj == null)
                return false;
            if(obj.GetType() != typeof(UnitTrustProportion) && !(obj is UnitTrustProportion))
                return false;
            return ToString().Equals(obj.ToString());
        }

        public override int GetHashCode()
        {
            return ToString().GetHashCode();
        }

        public override string ToString()
        {
            return string.Format("{0}",ID);
        }

    }


}